<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>兑换明细</title>
<link type="text/css" href="__CSS__/main.css" rel="stylesheet"/>
<link type="text/css" href="__CSS__/wild.css" rel="stylesheet"/>
<script type="text/javascript" src="__PUBLIC_JS__/jquery.js?v={$src_version}" ></script>
</head>
<body>
<div class="reback"><img src="__IMG__/reback.svg" onclick="javascript:history.back(-1);"></div>
<div class="exchange-box">
    <volist name="goods" id="v">
    <a href="javascript:;">
        <div class="exchange-item">
            <img src="/{$v.grpics}" />
            <div class="description">
                <p class="title">{$v.grname}</p>
                <p class="time">{$v.grtime|date='Y-m-d H:i',###}</p>
                <p class="number">x<span>{$v.num}</span></p>
            </div>
            <div class="detail">-{$v.grpoint}</div>
        </div>
    </a>
    </volist>
</div>
</body>
</html>
<script>
$(function(){
   $('.exchange-item .number span').each(function(){
        if($(this).text()==''){
            $(this).parents('.number').hide();
        }
    })
})
</script>